package com.atguigu.gulimail.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class CataLog2Vo {

    private String catalog1Id;  //父id
    private List<CataLog3Vo> catalog3List; //子节点vo的list集合
    private String id;  //当前节点的id
    private String name; //当前节点name

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class CataLog3Vo {
        private String catalog2Id; //父节点的id
        private String id;  //当前节点的id
        private String name;    //当前节点的name
    }
}

